const personalData = {
  state: {
    requestData: {},
    headerParams: {
      h_bizCodeTmp: 'NO_BIZCODE'
    }
  },
  // 取数据
  getters: {
    getRequestData (state) {
      return state.requestData
    }
  },
  // 操作数据
  mutations: {
    addString (state, objectVal) {
      state.requestData = {}
      state.requestData['h_channelCode'] = sessionStorage.setLossCallNo || '10'
      state.requestData['h_csrId'] = sessionStorage.setLossUserId || '123456'
      state.requestData['h_sessionId'] = sessionStorage.seesionId || '1001'
      state.requestData['h_channelFlag'] = sessionStorage.setLossUserId || 'web'
      $.each(state.headerParams, function (i, val) {
        state.requestData[i] = val
      })
      $.each(objectVal, function (i, val) {
        state.requestData[i] = val
      })
      return state.requestData
    }
  },
  actions: {}
}
export default personalData
